package com.springboot.springbootlogindemo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.springboot.springbootlogindemo.domain.Song;
import com.springboot.springbootlogindemo.utils.Result;

import java.util.List;

/**
 * 歌曲service接口
 */
public interface SongService extends IService<Song> {

    public Result addSong(Song song);

    public Result updateSong(Song song);

    public Result getAllSongs();

    public Result findSongsByName(String name);

    public Result findSongsBySinger(String singerName);

    public Result fingSong(String songName, String singerName);
}
